#header {
    width: 100%;
    height: 100%;
    background-color: #1D1D28;
}

#header .container {
    width: 1230px;
    height: 36px;
    margin: 0 auto;
    background-color: #222222;
}

#header .container ul {
    float: left;
}

#header .container ul li {
    float: left;
}

#header .container ul li a {
    font-size: 14px;
    margin-left: 30px;
    color: white;
    line-height: 36px;
}

#header .container ul li a:nth-of-type(1) {
    margin-left: 10px;
}

#header .container ol {
    float: right;
}

#header .container ol li {
    float: left;
}

#header .container ol li:last-child a {
    border: none;
}

#header .container ol li a {
    color: white;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    padding: 0 14px;
    margin-right: 3px;
    border-right: 1px solid #fff;
}

#header .container ol li a i {
    margin-right: 4px;
}

#header .container ol li:nth-of-type(4) a span {
    margin-left: 3px;
}


/* 导航 */

#nav {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #f7f7fa;
}

#nav .con {
    width: 1230px;
    height: 105px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #ffffff;
}

#nav .con h1 {
    width: 296px;
    height: 60px;
    float: left;
    margin-top: 22px;
}

#nav .con h1 img {
    width: 100%;
    height: 100%;
}

#nav .con .nav_box {
    float: left;
    width: 733px;
    height: 105px;
    box-sizing: border-box;
    line-height: 105px;
}

#nav .con .nav_box a {
    margin-right: 34px;
    color: #000;
}

#nav .con .nav_box a:nth-of-type(1) {
    margin-left: 65px;
}

#nav .con input {
    width: 198px;
    margin-top: 30px;
    height: 45px;
    border-radius: 22px;
    padding-left: 20px;
    box-sizing: border-box;
    background-color: #f2f2f4;
    border: 1px solid #ccc;
    background: url(../images/sou.png) no-repeat 164px 15px;
    background-size: 16px;
}

input::-moz-placeholder {
    font-size: 14px;
}


/* nav结束 */


/* 放大镜 */

.detail .enlarge:hover {
    cursor: pointer;
}

.detail .enlarge .middle {
    width: 500px;
    margin-top: 50px;
    height: 500px;
    border: 1px solid #000;
    position: relative;
}

.detail .enlarge .middle .shade:hover {
    cursor: move;
}

.detail .enlarge .middle .shade {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 0, .7);
    position: absolute;
    display: none;
    left: 0;
    top: 0;
}

.detail .enlarge .middle>img {
    width: 498px;
    height: 498px;
}

.detail .enlarge .middle .big {
    width: 400px;
    height: 400px;
    position: absolute;
    right: -420px;
    top: 0;
    overflow: hidden;
    border: 1px solid #0f0;
    display: none;
    z-index: 1;
}

.detail .enlarge .small {
    margin-top: 20px;
    width: 400px;
    height: 52px;
}

.detail .enlarge .small .wraper {
    width: 320px;
    position: relative;
    height: 52px;
    overflow: hidden;
    margin-left: 10px;
}

.detail .enlarge .small ul {
    position: absolute;
    left: 0;
    top: 0;
}

.detail .enlarge .small ul li.active {
    border-color: #f00;
}

.detail .enlarge .small ul li {
    float: left;
    margin-right: 5px;
    width: 50px;
    height: 50px;
    border: 1px solid transparent;
}

.detail .enlarge .small:hover>a {
    visibility: visible;
}

.detail .enlarge .small>a {
    width: 20px;
    height: 50px;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    visibility: hidden;
}

.detail .enlarge .big img {
    width: 1600px;
    height: 1600px;
    position: absolute;
    left: 0;
    top: 0;
}

.detail .enlarge .small ul li img {
    width: 48px;
    height: 48px;
}


/* 右边详情 */

.wrap {
    width: 100%;
    height: 100%;
}

.wrap .content {
    width: 1230px;
    height: 600px;
    margin: 0 auto;
}

.detail .description {
    margin: 0 50px;
    width: 580px;
}

.detail .description .addCart {
    margin-top: 20px;
}

.detail .description .share {
    margin-top: 20px;
}

.detail .description .free {
    margin-top: 20px;
}

.detail .description .addCart input[name="num"] {
    width: 60px;
    height: 40px;
    outline: none;
    border: none;
    border: 1px solid #ccc;
    padding-left: 6px;
}

.detail .description .addCart .reduce {
    width: 30px;
    height: 30px;
}

.detail .description .addCart .add {
    width: 30px;
    height: 30px;
}

.detail .description .addBtn,
.detail .description .toCart {
    float: left;
    margin-left: 30px;
    height: 40px;
    width: 120px;
    background-color: rgb(223, 48, 51);
    outline: none;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
}

.detail .description a.toCart {
    background-color: royalblue;
}

.fl {
    float: left;
}

.fr {
    float: right;
}


/* ****************** */

.description h3 {
    font-size: 36px;
    margin-top: 50px;
    font-weight: normal;
}

.description .title span {
    margin-right: 8px;
    color: red;
    font-size: 16px;
    margin-bottom: 13px;
    background-color: pink;
    display: inline-block;
}

.description .font span {
    display: block;
    color: red;
    margin: 5px 0;
}

.description .font p:nth-child(2n) {
    line-height: 30px;
    color: #F79A47;
}

.description .price {
    margin-top: 10px;
    height: 30px;
}

.description .price span {
    font-size: 30px;
    color: red;
}

.description .price s {
    font-size: 20px;
    color: #ccc;
}

.description .shop button {
    width: 120px;
    height: 50px;
    border-radius: 15px;
    margin-top: 20px;
}

.description .shop a {
    display: inline-block;
    width: 120px;
    height: 50px;
    border-radius: 15px;
    margin-top: 20px;
}


/* z中间回到首页 */

.center {
    width: 100%;
    height: 100%;
    margin-top: 30px;
}

.center .con {
    width: 1230px;
    height: 30px;
    overflow: hidden;
    margin: 0 auto;
}

.center .con a {
    font-size: 20px;
    padding: 20px;
}